<template>
<div class="common-seach-wrap">
    <el-tabs v-model="activeName">
      <el-tab-pane :label="$t('user.level_list')" name="list"></el-tab-pane>
      <el-tab-pane :label="$t('user.upgrade_log')" name="log"></el-tab-pane>
    </el-tabs>

    <!--积分设置-->
    <List v-if="activeName == 'list'"></List>
    <!--积分明细-->
    <Log v-if="activeName == 'log'"></Log>
  </div>
</template>

<script>
import List from "./part/list.vue";
import Log from "./part/log.vue";
export default {
  components: {
    List,
    Log
  },
  data() {
    return {
      activeName: "list"
    };
  },
  methods: {}
};
</script>

